package {

	import net.box2fp.Box2DEntity;
	import net.box2fp.graphics.SuperGraphiclist;
	import net.flashpunk.graphics.Image;
	import Box2D.Dynamics.b2Body;
	import net.box2fp.Box2DShapeBuilder;

	public class MyBox2DWall extends Box2DEntity {
		
		public function MyBox2DWall(x:Number,y:Number) {
			
			super(x, y, 640, 20, b2Body.b2_staticBody);
			type = "wall";
		}
		
		override public function buildShapes(friction:Number, density:Number, restitution:Number, group:int, category:int, collmask:int):void {
			
			Box2DShapeBuilder.buildRectangle(body, width / (2.0*box2dworld.scale),height / (2.0*box2dworld.scale));
		}
		
		override public function update():void {
			super.update();
		}
	}	

}	